import {request} from "@/utils/request";

/**
 * 发表评论
 */
export  function makeComment(params){
    return request({
        url:"/blog/web/comment/begin",
        method:'post',
        data:params
    })
}

/**
 * 获取评论
 */
export  function GetComment(commentId,order){
    const query = {commentId,order}
    return request({
        url:'/blog/web/comment/select',
        method:'get',
        headers: {
            isToken: false
        },
        params:query
    })
}
